home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Adobe Graphics & Publishing SDK 1996 December
/
Adobe Graphics & Publishing SDK 1996 December.iso
/
mac
/
After Effects 3.1 SDK Mac
/
Examples
/
I⁄O Samples
/
Filmstrip FXIF
/
FILM_Options.c
< prev
next >
Wrap
Text File
|
1996-06-04
|
1KB
|
78 lines
/**
FILM_Options.c
Part of the Adobe After Effects 3.1 SDK
Copyright (c)1993-96, Adobe Systems Inc, All Rights Reserved.
Revision History
1.0, created by dmw
**/
#include "PIFormatT.h"
#include "Film.h"
void OptionsPrepare (Ptr Stuff, long *data, short *result)
{
FormatRecordPtr fp = (FormatRecordPtr)Stuff;
fp->maxData /= 4;
*result = 0;
}
#if 0
static void AppCallback (FormatRecordPtr Stuff, OSErr *err, short *planes)
{
D_PS_AppCallBlock cb;
HostProc hostProc;
if (Stuff->hostSig == 'FXTC') {
cb.outspec = Stuff->platformData;
hostProc = Stuff->hostProc;
if (hostProc) {
(*hostProc)(0, (long*)&cb);
*err = cb.err;
*planes = cb.planes;
} else {
*planes = 4;
}
}
}
#endif
void OptionsStart (Ptr Stuff, long *data, short *result)
{
OSErr err = 0;
if (!err) {
*result = 0;
} else {
*result = err;
}
}
void OptionsContinue (Ptr Stuff, long *data, short *result)
{
OSErr err = 0;
FormatRecordPtr fp = (FormatRecordPtr)Stuff;
if (!err) {
*result = 0;
} else {
*result = err;
}
}
void OptionsFinish (Ptr Stuff, long *data, short *result)
{
FormatRecordPtr fp = (FormatRecordPtr)Stuff;
// DebugStr("\p Done optioning...");
*result = 0;
}